package com.qfedu.vhr.framework.service;

import com.qfedu.vhr.common.RespBean;
import com.qfedu.vhr.framework.entity.Menu;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qfedu.vhr.framework.entity.vo.MenuVO;
import com.qfedu.vhr.framework.entity.vo.MenuWithRole;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhangsan
 * @since 2023-01-09
 */
public interface IMenuService extends IService<Menu> {

    List<MenuVO> getAllMenusByHrId();

    List<MenuWithRole> getMenusWithRole();

    List<MenuVO> getAllMenus();

    List<Integer> getSelectedMenuIdByRoleId(Integer rid);

    RespBean updateMenuRole(Integer rid, Integer[] mids);
}
